package com.totem.customer.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.totem.base.mybatis.model.AbstractEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(onlyExplicitlyIncluded=true, callSuper = true)
@Data
@Builder
@TableName("t_members")
public class TMembers  extends AbstractEntity {
    @EqualsAndHashCode.Include
    @TableId(value="customer_id", type= IdType.INPUT)
    private Long customerId;
    @TableField("member_level")
    private Integer memberLevel;
    @TableField("enjoy_level")
    private Integer enjoyLevel;
    @TableField("invest")
    private BigDecimal invest;
    @TableField("team_invest")
    private BigDecimal teamInvest;
    @TableField("award")
    private BigDecimal award;
    @TableField("team_award")
    private BigDecimal teamAward;
    @TableField("v0_count")
    private Integer v0Count;
    @TableField("v1_count")
    private Integer v1Count;
    @TableField("v2_count")
    private Integer v2Count;
    @TableField("v3_count")
    private Integer v3Count;
    @TableField("v4_count")
    private Integer v4Count;
    @TableField("v5_count")
    private Integer v5Count;
    @TableField("v6_count")
    private Integer v6Count;
}
